﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Stationery.Login" Codebehind="Login.aspx.cs" %>

<%@ Register assembly="MSCaptcha" namespace="MSCaptcha" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Hương Trầm Cao Thôn, đăng nhập</title>
    <style type="text/css">
        .style1
        {
            height: 35;
            width: 13px;
        }
        .style2
        {
            height: 112px;
            width: 13px;
        }
        .style3
        {
            width: 13px;
        }
    </style>
</head>
<body>
    <center>
        <form id="form1" runat="server" defaultbutton='ImageButtonLogin' defaultfocus='txtUsername'>
            <div style="margin-top: 200px">
                <table id="Table_01" border="0" cellpadding="0" cellspacing="0" width="360">
                    <tr>
                        <td style="background: url(Image/ad/Table_01.gif); " class="style1">
                        </td>
                        <td style="text-align: center; height: 35px; background: url(Image/ad/Table_02.gif);">
                            <asp:Label ID="lblTitle" runat="server" Font-Bold="True" ForeColor="#FFFFFF" Height="31px"
                                Text="Đăng nhập Administrator"></asp:Label>
                        </td>
                        <td style="background: url(Image/ad/Table_03.gif); height: 35; width: 15px">
                        </td>
                    </tr>
                    <tr>
                        <td style="background: url(Image/ad/Table_04.gif); " class="style2">
                        </td>
                        <td style="height: 112px">
                            <table style="width: 95%; height: 1px">
                                <tr>
                                    <td align="right">
                                        <span style="color: #ffffff"><span style="color: #0000ff">Tên truy cập:</span>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername"
                                                ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></span>
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="txtUsername" runat="server" ForeColor="#0000FF" Width="98%"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <span style="color: #ffffff"><span style="color: #0000ff">Mật khẩu:</span>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                                                ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></span>
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="98%" 
                                            ForeColor="#0000FF"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr id="controlCaptcha" runat="server">
                                    <td align="center">
                                    </td>
                                    <td align="left">
                                        <cc1:CaptchaControl ID="CaptchaControl1" runat="server" />
                                    </td>
                                </tr>
                                <tr id="controlConfirmCaptcha" runat="server">
                                    <td align="right">
                                        <span style="color: #ffffff">
                                            <span style="color: #0000ff">Mã xác nhận:</span>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPassword" 
                                                ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                                        </span>
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="txtConfirm" runat="server" Width="98%" ForeColor="#0000FF"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                     </td>
                                    <td align="left">
                                        <asp:ImageButton ID="ImageButtonLogin" runat="server" ImageUrl="~/Image/ad/login.gif"
                                            OnClick="ImageButtonLogin_Click" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lblError" runat="server" ForeColor="#FF0000"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td background="Image/ad/Table_06.gif" style="height: 112px; width: 15px;">
                        </td>
                    </tr>
                    <tr>
                        <td background="Image/ad/Table_07.gif" height="14" class="style3">
                        </td>
                        <td background="Image/ad/Table_08.gif" height="14">
                        </td>
                        <td background="Image/ad/Table_09.gif" height="14" style="width: 15px">
                        </td>
                    </tr>
                </table>
            </div>
        </form>
    </center>
</body>
</html>
